<h3><{"Groups"|msg}></h3>

<div class="left">
<{"{1} group(s) found."|msg:$paylog.total}>
</div>

<div class="right">
<a href="<{url controller="edit_group"}>"><{"Add"|msg}></a>
</div>

<div class="clear"></div>

<table class="outer">

<tr>
<th><{"ID"|msg}></th>
<th><{"Group Name"|msg}></th>
<th><{"Weight"|msg}></th>
<th><{"Operation"|msg}></th>
</tr>

<{foreach from=$paylog.groups item="group"}>

<tr class="<{cycle values="odd, even"}>">
<td><{$group.id}></td>
<td><{$group.name}></td>
<td><{$group.weight}></td>
<td>
<a href="<{url controller="edit_group" id=$group.id}>"><{"Edit"|msg}></a>
<a href="<{url controller="edit_tag" group_id=$group.id}>"><{"Add Tag"|msg}></a>
<a href="<{url controller="tags" group_id=$group.id}>"><{"Show Tags"|msg}></a>
</td>
</tr>

<{/foreach}>

</table>